package com.woniu.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author Kevin Kwok
 * @create 2021-04-13 23:17
 */
/*分页对象*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Page implements Serializable {
    //当前页下标
    private int pageIndex;
    //页容量
    private int pageSize;
    //数据总量
    private long dataCount;
    //页码总数
    private int pageCount;
}
